package com.oceanstar; // 确保包名正确

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@ServletComponentScan
@SpringBootApplication
@MapperScan("com.oceanstar.mapper") // 关键注解：指定 Mapper 接口的包路径
public class CommunityServiceWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(CommunityServiceWebApplication.class, args);
    }
}
